﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

namespace FOMobile
{
    // Note: For instructions on enabling IIS6 or IIS7 classic mode, 
    // visit http://go.microsoft.com/?LinkId=9394801

    public class MvcApplication : System.Web.HttpApplication
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
        }

        public static void RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
            routes.MapRoute(
             "ShoppingCard ContractDetail", // Route name
             "ShoppingCard/ContractDetail/{CardApplyID}", // URL with parameters
             new { controller = "ShoppingCard", action = "ContractDetail" } // Parameter defaults
             );
            routes.MapRoute(
           "ATMCard ContractDetail", // Route name
           "ATMCard/ContractDetail/{CardApplyID}", // URL with parameters
           new { controller = "ATMCard", action = "ContractDetail" } // Parameter defaults
           );
            routes.MapRoute(
            "TravelCard ContractDetail", // Route name
            "TravelCard/ContractDetail/{CardApplyID}", // URL with parameters
            new { controller = "TravelCard", action = "ContractDetail" } // Parameter defaults
            );
            routes.MapRoute(
            "CreditCard ContractDetail", // Route name
            "CreditCard/ContractDetail/{CardApplyID}", // URL with parameters
            new { controller = "CreditCard", action = "ContractDetail" } // Parameter defaults
            );
            routes.MapRoute(
            "RestaurantCard ContractDetail", // Route name
            "RestaurantCard/ContractDetail/{CardApplyID}", // URL with parameters
            new { controller = "RestaurantCard", action = "ContractDetail" } // Parameter defaults
            );
            routes.MapRoute(
            "SavingFuelCard ContractDetail", // Route name
            "SavingFuelCard/ContractDetail/{CardApplyID}", // URL with parameters
            new { controller = "SavingFuelCard", action = "ContractDetail" } // Parameter defaults
            );
            routes.MapRoute(
           "DepositSaving ContractDetail", // Route name
           "DepositSaving/ContractDetail/{DepositSavingApplyID}", // URL with parameters
           new { controller = "DepositSaving", action = "ContractDetail" } // Parameter defaults
           );
            routes.MapRoute(
          "AccumulateDeposit ContractDetail", // Route name
          "AccumulateDeposit/ContractDetail/{AccumulateDepositApplyID}", // URL with parameters
          new { controller = "AccumulateDeposit", action = "ContractDetail" } // Parameter defaults
          );
            routes.MapRoute(
         "OnlineDeposit ContractDetail", // Route name
            "OnlineDeposit/ContractDetail/{OnlineDepositApplyID}", // URL with parameters
            new { controller = "OnlineDeposit", action = "ContractDetail" } // Parameter defaults
                );
            routes.MapRoute(
            "DepositSavingCurrency ContractDetail", // Route name
            "DepositSavingCurrency/ContractDetail/{SavingCurrencyApplyID}", // URL with parameters
            new { controller = "DepositSavingCurrency", action = "ContractDetail" } // Parameter defaults
            );
            routes.MapRoute(
            "HomeLoanTrust ContractDetail", // Route name
            "HomeLoanTrust/ContractDetail/{HomeLoanApplyID}", // URL with parameters
            new { controller = "HomeLoanTrust", action = "ContractDetail" } // Parameter defaults
            ); routes.MapRoute(
            "HomeLoanMortgage ContractDetail", // Route name
            "HomeLoanMortgage/ContractDetail/{HomeLoanApplyID}", // URL with parameters
            new { controller = "HomeLoanMortgage", action = "ContractDetail" } // Parameter defaults
            );
            routes.MapRoute(
           "CarLoanTrust ContractDetail", // Route name
           "CarLoanTrust/ContractDetail/{CarLoanApplyID}", // URL with parameters
           new { controller = "CarLoanTrust", action = "ContractDetail" } // Parameter defaults
           );
            routes.MapRoute(
           "CarLoanMortgage ContractDetail", // Route name
           "CarLoanMortgage/ContractDetail/{CarLoanApplyID}", // URL with parameters
           new { controller = "CarLoanMortgage", action = "ContractDetail" } // Parameter defaults
           );

            routes.MapRoute(
           "ShortTermLoan ContractDetail", // Route name
           "ShortTermLoan/ContractDetail/{ShortTermLoanApplyID}", // URL with parameters
           new { controller = "ShortTermLoan", action = "ContractDetail" } // Parameter defaults
           );
            routes.MapRoute(
          "WorkingCapitalLoan ContractDetail", // Route name
          "WorkingCapitalLoan/ContractDetail/{WorkingCapitalLoanApplyID}", // URL with parameters
          new { controller = "WorkingCapitalLoan", action = "ContractDetail" } // Parameter defaults
          );
            routes.MapRoute(
         "FinancialLeasingLoan ContractDetail", // Route name
         "FinancialLeasingLoan/ContractDetail/{FinancialLeasingLoanApplyID}", // URL with parameters
         new { controller = "FinancialLeasingLoan", action = "ContractDetail" } // Parameter defaults
         );
            routes.MapRoute(
        "LongTermLoan ContractDetail", // Route name
        "LongTermLoan/ContractDetail/{LongTermLoanApplyID}", // URL with parameters
        new { controller = "LongTermLoan", action = "ContractDetail" } // Parameter defaults
        );
            routes.MapRoute(
        "ConsumerLoan ContractDetail", // Route name
        "ConsumerLoan/ContractDetail/{ConsumerLoanApplyID}", // URL with parameters
        new { controller = "ConsumerLoan", action = "ContractDetail" } // Parameter defaults
        );
            routes.MapRoute(
        "EducationLoan ContractDetail", // Route name
        "EducationLoan/ContractDetail/{EducationLoanApplyID}", // URL with parameters
        new { controller = "EducationLoan", action = "ContractDetail" } // Parameter defaults
        );
            routes.MapRoute(
     "HomeEquityLoan ContractDetail", // Route name
     "HomeEquityLoan/ContractDetail/{HomeEquityLoanApplyID}", // URL with parameters
     new { controller = "HomeEquityLoan", action = "ContractDetail" } // Parameter defaults
     );
            routes.MapRoute(
        "PersonalBusinessLoan ContractDetail", // Route name
        "PersonalBusinessLoan/ContractDetail/{PersonalBusinessLoanApplyID}", // URL with parameters
        new { controller = "PersonalBusinessLoan", action = "ContractDetail" } // Parameter defaults
        );
            routes.MapRoute(
        "ConsumerInstallmentLoan ContractDetail", // Route name
        "ConsumerInstallmentLoan/ContractDetail/{ConsumerInstallmentLoanApplyID}", // URL with parameters
        new { controller = "ConsumerInstallmentLoan", action = "ContractDetail" } // Parameter defaults
        );

            routes.MapRoute(
       "OverdraftLoan ContractDetail", // Route name
       "OverdraftLoan/ContractDetail/{OverdraftLoanApplyID}", // URL with parameters
       new { controller = "OverdraftLoan", action = "ContractDetail" } // Parameter defaults
       );
            routes.MapRoute(
      "InternetBanking ContractDetail", // Route name
      "InternetBanking/ContractDetail/{InternetBankingApplyID}", // URL with parameters
      new { controller = "InternetBanking", action = "ContractDetail" } // Parameter defaults
      );
            routes.MapRoute(
      "Mobile Banking ContractDetail", // Route name
      "MobileBanking/ContractDetail/{MobileBankingApplyID}", // URL with parameters
      new { controller = "MobileBanking", action = "ContractDetail" } // Parameter defaults
      );
            routes.MapRoute(
           "career careerdetail", // Route name
           "career/{Title}/{ArticlesID}", // URL with parameters
           new { controller = "Articles", action = "ArticlesDetail" } // Parameter defaults
           );
            routes.MapRoute(
            "CreditCard", // Route name
            "credit-card", // URL with parameters
            new { controller = "CreditCard", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
           "CreditCard Index", // Route name
           "the-tin-dung", // URL with parameters
           new { controller = "CreditCard", action = "Index" } // Parameter defaults
           );
            routes.MapRoute(
            "SavingFuelCard", // Route name
            "fuel-card", // URL with parameters
            new { controller = "SavingFuelCard", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "RestaurantCard", // Route name
            "restaurant-card", // URL with parameters
            new { controller = "RestaurantCard", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "TravelCard", // Route name
            "travel-card", // URL with parameters
            new { controller = "TravelCard", action = "Index" } // Parameter defaults
            );

            routes.MapRoute(
            "ATMCard", // Route name
            "atm-card", // URL with parameters
            new { controller = "ATMCard", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "ShoppingCard", // Route name
            "shopping-card", // URL with parameters
            new { controller = "ShoppingCard", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "DepositSaving", // Route name
            "term-saving", // URL with parameters
            new { controller = "DepositSaving", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "DepositSavingCurrency", // Route name
            "foreign-currency-saving", // URL with parameters
            new { controller = "DepositSavingCurrency", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "AccumulateDeposit", // Route name
            "accumulated-saving", // URL with parameters
            new { controller = "AccumulateDeposit", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "OnlineDeposit", // Route name
            "term-demand-saving", // URL with parameters
            new { controller = "OnlineDeposit", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "HomeLoanTrust", // Route name
            "house-contruction-renovation-loan", // URL with parameters
            new { controller = "HomeLoanTrust", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "HomeLoanMortgage", // Route name
            "secured-home-loan", // URL with parameters
            new { controller = "HomeLoanMortgage", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "CarLoanTrust", // Route name
            "car-loan", // URL with parameters
            new { controller = "CarLoanTrust", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "CarLoanMortgage", // Route name
            "moto-loan", // URL with parameters
            new { controller = "CarLoanMortgage", action = "Index" } // Parameter defaults
            );

            routes.MapRoute(
            "ShortTermLoan Index", // Route name
            "short-term-loan", // URL with parameters
            new { controller = "ShortTermLoan", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
           "FinancialLeasingLoan Index", // Route name
           "financial-leasing-loan", // URL with parameters
           new { controller = "FinancialLeasingLoan", action = "Index" } // Parameter defaults
           );
            routes.MapRoute(
           "LongTermLoan Index", // Route name
           "long-term-loan", // URL with parameters
           new { controller = "LongTermLoan", action = "Index" } // Parameter defaults
           );
            routes.MapRoute(
           "WorkingCapitalLoan Index", // Route name
           "working-capital-loan", // URL with parameters
           new { controller = "WorkingCapitalLoan", action = "Index" } // Parameter defaults
           );
            routes.MapRoute(
         "ConsumerLoan Index", // Route name
         "consumer-loan", // URL with parameters
         new { controller = "ConsumerLoan", action = "Index" } // Parameter defaults
         );
            routes.MapRoute(
         "EducationLoan Index", // Route name
         "education-loan", // URL with parameters
         new { controller = "EducationLoan", action = "Index" } // Parameter defaults
         );
            routes.MapRoute(
        "HomeEquityLoan Index", // Route name
        "home-equity-loan", // URL with parameters
        new { controller = "HomeEquityLoan", action = "Index" } // Parameter defaults
        );
            routes.MapRoute(
        "PersonalBusinessLoan Index", // Route name
        "personal-business-loan", // URL with parameters
        new { controller = "PersonalBusinessLoan", action = "Index" } // Parameter defaults
        );
            routes.MapRoute(
       "ConsumerInstallmentLoan Index", // Route name
       "consumer-installment-loan", // URL with parameters
       new { controller = "ConsumerInstallmentLoan", action = "Index" } // Parameter defaults
       );
            routes.MapRoute(
       "OverdraftLoan Index", // Route name
       "overdraft-loan", // URL with parameters
       new { controller = "OverdraftLoan", action = "Index" } // Parameter defaults
       );
            routes.MapRoute(
            "CreditCard Info", // Route name
            "credit-card/apply/{CardID}", // URL with parameters
            new { controller = "CreditCard", action = "CreditCardInfo" } // Parameter defaults

            );
            routes.MapRoute(
           "InternetBanking Info", // Route name
           "internet-banking/apply/{InternetBankingID}", // URL with parameters
           new { controller = "InternetBanking", action = "InternetBankingInfo" } // Parameter defaults

           );
            routes.MapRoute(
           "MobileBanking Info", // Route name
           "mobile-banking/apply/{MobileBankingID}", // URL with parameters
           new { controller = "MobileBanking", action = "MobileBankingInfo" } // Parameter defaults

           );
            routes.MapRoute(
            "Cards By Provider", // Route name
            "credit-card/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "CreditCard", action = "CardsByProvider" } // Parameter defaults

            );

            routes.MapRoute(
            "CreditCard Detail", // Route name
            "credit-card/{CompanyName}/{CardName}/{CardID}", // URL with parameters
            new { controller = "CreditCard", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
            "AccumulateDeposit Detail", // Route name
            "accumulated-saving/{CompanyName}/{AccumulateDepositName}/{AccumulateDepositID}", // URL with parameters
            new { controller = "AccumulateDeposit", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
            "OnlineDeposit Detail", // Route name
            "term-demand-saving/{CompanyName}/{OnlineDepositName}/{OnlineDepositID}", // URL with parameters
            new { controller = "OnlineDeposit", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
            "DepositSaving Detail", // Route name
            "term-saving/{CompanyName}/{DepositSavingName}/{DepositSavingID}", // URL with parameters
            new { controller = "DepositSaving", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
            "DepositSavingCurrency Detail", // Route name
            "foreign-currency-saving/{CompanyName}/{SavingCurrencyName}/{SavingCurrencyID}", // URL with parameters
            new { controller = "DepositSavingCurrency", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
            "ShoppingCard Info", // Route name
            "shopping-card/apply/{CardID}", // URL with parameters
            new { controller = "ShoppingCard", action = "ShoppingCardInfo" } // Parameter defaults

            );
            routes.MapRoute(
            "ShoppingCard By Provider", // Route name
            "shopping-card/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "ShoppingCard", action = "CardsByProvider" } // Parameter defaults

            );
            routes.MapRoute(
           "ShoppingCard Detail", // Route name
           "shopping-card/{CompanyName}/{CardName}/{CardID}", // URL with parameters
           new { controller = "ShoppingCard", action = "Detail" } // Parameter defaults

           );
            routes.MapRoute(
          "InternetBanking Detail", // Route name
          "internet-banking/{CompanyName}/{InternetBankingName}/{InternetBankingID}", // URL with parameters
          new { controller = "InternetBanking", action = "Detail" } // Parameter defaults

          );
            routes.MapRoute(
         "MobileBanking Detail", // Route name
         "mobile-banking/{CompanyName}/{MobileBankingName}/{MobileBankingID}", // URL with parameters
         new { controller = "MobileBanking", action = "Detail" } // Parameter defaults

         );
            routes.MapRoute(
            "ATMCard Info", // Route name
            "atm-card/apply/{CardID}", // URL with parameters
            new { controller = "ATMCard", action = "ATMCardInfo" } // Parameter defaults

           );
            routes.MapRoute(
            "ATMCard By Provider", // Route name
            "atm-card/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "ATMCard", action = "CardsByProvider" } // Parameter defaults

            );
            routes.MapRoute(
           "ATMCard Detail", // Route name
           "atm-card/{CompanyName}/{CardName}/{CardID}", // URL with parameters
           new { controller = "ATMCard", action = "Detail" } // Parameter defaults

           );
            routes.MapRoute(
            "TravelCard Info", // Route name
            "travel-card/apply/{CardID}", // URL with parameters
            new { controller = "TravelCard", action = "TravelCardInfo" } // Parameter defaults

            );
            routes.MapRoute(
            "TravelCard By Provider", // Route name
            "travel-card/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "TravelCard", action = "CardsByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "RestaurantCard Info", // Route name
            "restaurant-card/apply/{CardID}", // URL with parameters
            new { controller = "RestaurantCard", action = "RestaurantCardInfo" } // Parameter defaults

            );

            routes.MapRoute(
            "RestaurantCard By Provider", // Route name
            "restaurant-card/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "RestaurantCard", action = "CardsByProvider" } // Parameter defaults

            );

            routes.MapRoute(
            "RestaurantCard Detail", // Route name
            "restaurant-card/{CompanyName}/{CardName}/{CardID}", // URL with parameters
            new { controller = "RestaurantCard", action = "Detail" } // Parameter defaults

            );

            routes.MapRoute(
            "TravelCard Detail", // Route name
            "travel-card/{CompanyName}/{CardName}/{CardID}", // URL with parameters
            new { controller = "TravelCard", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
            "FuelCard Info", // Route name
            "fuel-card/apply/{CardID}", // URL with parameters
            new { controller = "SavingFuelCard", action = "SavingFuelCardInfo" } // Parameter defaults

            );

            routes.MapRoute(
            "Cards Fuel By Provider", // Route name
            "fuel-card/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "SavingFuelCard", action = "CardsByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "SavingFuelCard Detail", // Route name
            "fuel-card/{CompanyName}/{CardName}/{CardID}", // URL with parameters
            new { controller = "SavingFuelCard", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
            "HomeLoanTrust Detail", // Route name
            "house-contruction-renovation-loan/{CompanyName}/{HomeLoanTrustName}/{HomeLoanTrustID}", // URL with parameters
            new { controller = "HomeLoanTrust", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
            "HomeLoanMortgage Detail", // Route name
            "secured-home-loan/{CompanyName}/{HomeLoanMortgageName}/{HomeLoanMortgageID}", // URL with parameters
            new { controller = "HomeLoanMortgage", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
           "CarLoanTrust Detail", // Route name
           "car-loan/{CompanyName}/{CarLoanTrustName}/{CarLoanTrustID}", // URL with parameters
           new { controller = "CarLoanTrust", action = "Detail" } // Parameter defaults

           );
            routes.MapRoute(
            "CarLoanMortgage Detail", // Route name
            "moto-loan/{CompanyName}/{CarLoanMortgageName}/{CarLoanMortgageID}", // URL with parameters
            new { controller = "CarLoanMortgage", action = "Detail" } // Parameter defaults
            );
            routes.MapRoute(
            "LongTermLoan Detail", // Route name
            "long-term-loan/{CompanyName}/{LongTermLoanName}/{LongTermLoanID}", // URL with parameters
            new { controller = "LongTermLoan", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
           "ShortTermLoan Detail", // Route name
           "short-term-loan/{CompanyName}/{ShortTermLoanName}/{ShortTermLoanID}", // URL with parameters
           new { controller = "ShortTermLoan", action = "Detail" } // Parameter defaults

           );
            routes.MapRoute(
           "FinancialLeasingLoan Detail", // Route name
           "financial-leasing-loan/{CompanyName}/{FinancialLeasingLoanName}/{FinancialLeasingLoanID}", // URL with parameters
           new { controller = "FinancialLeasingLoan", action = "Detail" } // Parameter defaults

           );
            routes.MapRoute(
            "WorkingCapitalLoan Detail", // Route name
            "working-capital-loan/{CompanyName}/{WorkingCapitalLoanName}/{WorkingCapitalLoanID}", // URL with parameters
            new { controller = "WorkingCapitalLoan", action = "Detail" } // Parameter defaults

            );
            routes.MapRoute(
           "ConsumerLoan Detail", // Route name
           "consumer-loan/{CompanyName}/{ConsumerLoanName}/{ConsumerLoanID}", // URL with parameters
           new { controller = "ConsumerLoan", action = "Detail" } // Parameter defaults

           );
            routes.MapRoute(
           "EducationLoan Detail", // Route name
           "education-loan/{CompanyName}/{EducationLoanName}/{EducationLoanID}", // URL with parameters
           new { controller = "EducationLoan", action = "Detail" } // Parameter defaults

           );
            routes.MapRoute(
           "HomeEquityLoan Detail", // Route name
           "home-equity-loan/{CompanyName}/{HomeEquityLoanName}/{HomeEquityLoanID}", // URL with parameters
           new { controller = "HomeEquityLoan", action = "Detail" } // Parameter defaults

           );
            routes.MapRoute(
           "PersonalBusinessLoan Detail", // Route name
           "personal-business-loan/{CompanyName}/{PersonalBusinessLoanName}/{PersonalBusinessLoanID}", // URL with parameters
           new { controller = "PersonalBusinessLoan", action = "Detail" } // Parameter defaults

           );
            routes.MapRoute(
          "ConsumerInstallmentLoan Detail", // Route name
          "consumer-installment-loan/{CompanyName}/{ConsumerInstallmentLoanName}/{ConsumerInstallmentLoanID}", // URL with parameters
          new { controller = "ConsumerInstallmentLoan", action = "Detail" } // Parameter defaults

          );
            routes.MapRoute(
          "OverdraftLoan Detail", // Route name
          "overdraft-loan/{CompanyName}/{OverdraftLoanName}/{OverdraftLoanID}", // URL with parameters
          new { controller = "OverdraftLoan", action = "Detail" } // Parameter defaults

          );
            routes.MapRoute(
            "DepositSaving Info", // Route name
            "term-saving/apply/{SavingDepositID}", // URL with parameters
            new { controller = "DepositSaving", action = "DepositSavingInfo" } // Parameter defaults

            );
            routes.MapRoute(
            "OnlineDeposit Info", // Route name
            "term-demand-saving/apply/{OnlineDepositID}", // URL with parameters
            new { controller = "OnlineDeposit", action = "OnlineDepositInfo" } // Parameter defaults

            );
            routes.MapRoute(
            "term demand By Provider", // Route name
            "term-demand-saving/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "OnlineDeposit", action = "TermDemandSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "AccumulateDeposit Info", // Route name
            "accumulated-saving/apply/{AccumulateDepositID}", // URL with parameters
            new { controller = "AccumulateDeposit", action = "AccumulateDepositInfo" } // Parameter defaults

            );

            routes.MapRoute(
            "DepositSavingCurrency Info", // Route name
            "foreign-currency-saving/apply/{SavingCurrencyID}", // URL with parameters
            new { controller = "DepositSavingCurrency", action = "DepositSavingCurrencyInfo" } // Parameter defaults

            );
            routes.MapRoute(
            "CarLoanTrust Info", // Route name
            "car-loan/apply/{CarLoanTrustID}", // URL with parameters
            new { controller = "CarLoanTrust", action = "CarLoanTrustInfo" } // Parameter defaults

            );
            routes.MapRoute(
            "CarLoanMortgage Info", // Route name
            "moto-loan/apply/{CarLoanMortgageID}", // URL with parameters
            new { controller = "CarLoanMortgage", action = "CarLoanMortgageInfo" } // Parameter defaults

            );
            routes.MapRoute(
            "HomeLoanTrust Info", // Route name
            "house-contruction-renovation-loan/apply/{HomeLoanTrustID}", // URL with parameters
            new { controller = "HomeLoanTrust", action = "HomeLoanTrustInfo" } // Parameter defaults

            );
            routes.MapRoute(
            "HomeLoanMortgage Info", // Route name
            "secured-home-loan/apply/{HomeLoanMortgageID}", // URL with parameters
            new { controller = "HomeLoanMortgage", action = "HomeLoanMortgageInfo", id = UrlParameter.Optional }
            );// Parameter defaults

            routes.MapRoute(
           "ShortTermLoan Info", // Route name
           "short-term-loan/apply/{ShortTermLoanID}", // URL with parameters
           new { controller = "ShortTermLoan", action = "ShortTermLoanInfo", id = UrlParameter.Optional }
           );// Parameter defaults
            routes.MapRoute(
          "FinancialLeasingLoan Info", // Route name
          "financial-leasing-loan/apply/{FinancialLeasingLoanID}", // URL with parameters
          new { controller = "FinancialLeasingLoan", action = "FinancialLeasingLoanInfo", id = UrlParameter.Optional }
          );// Parameter defaults
            routes.MapRoute(
          "LongTermLoan Info", // Route name
          "long-term-loan/apply/{LongTermLoanID}", // URL with parameters
          new { controller = "LongTermLoan", action = "LongTermLoanInfo", id = UrlParameter.Optional }
          );// Parameter defaults
            routes.MapRoute(
          "WorkingCapitalLoan Info", // Route name
          "working-capital-loan/apply/{WorkingCapitalLoanID}", // URL with parameters
          new { controller = "WorkingCapitalLoan", action = "WorkingCapitalLoanInfo", id = UrlParameter.Optional }
          );// Parameter defaults
            routes.MapRoute(
            "Loan Info", // Route name
            "Loan/LoanInfo/{LoanID}", // URL with parameters
            new { controller = "Loan", action = "LoanInfo", id = UrlParameter.Optional }
            );// Parameter defaults

            routes.MapRoute(
         "ConsumerLoan Info", // Route name
         "consumer-loan/apply/{ConsumerLoanID}", // URL with parameters
         new { controller = "ConsumerLoan", action = "ConsumerLoanInfo", id = UrlParameter.Optional }
         );// Parameter defaults

            routes.MapRoute(
        "EducationLoan Info", // Route name
        "education-loan/apply/{EducationLoanID}", // URL with parameters
        new { controller = "EducationLoan", action = "EducationLoanInfo", id = UrlParameter.Optional }
        );// Parameter defaults
            routes.MapRoute(
       "HomeEquityLoan Info", // Route name
       "home-equity-loan/apply/{HomeEquityLoanID}", // URL with parameters
       new { controller = "HomeEquityLoan", action = "HomeEquityLoanInfo", id = UrlParameter.Optional }
       );// Parameter defaults
            routes.MapRoute(
        "PersonalBusinessLoan Info", // Route name
        "personal-business-loan/apply/{PersonalBusinessLoanID}", // URL with parameters
        new { controller = "PersonalBusinessLoan", action = "PersonalBusinessLoanInfo", id = UrlParameter.Optional }
        );// Parameter defaults
            routes.MapRoute(
        "ConsumerInstallmentLoan Info", // Route name
        "consumer-installment-loan/apply/{ConsumerInstallmentLoanID}", // URL with parameters
        new { controller = "ConsumerInstallmentLoan", action = "ConsumerInstallmentLoanInfo", id = UrlParameter.Optional }
        );// Parameter defaults
            routes.MapRoute(
        "OverdraftLoan Info", // Route name
        "overdraft-loan/apply/{OverdraftLoanID}", // URL with parameters
        new { controller = "OverdraftLoan", action = "OverdraftLoanInfo", id = UrlParameter.Optional }
        );// Parameter defaults
            routes.MapRoute(
            "UpdateCard", // Route name
            "Card/UpdateCard/{CardID}", // URL with parameters
            new { controller = "Card", action = "UpdateCard" } // Parameter defaults
            );
            routes.MapRoute(
            "CreditCard UpdateCard", // Route name
            "CreditCard/UpdateCard/{CardID}", // URL with parameters
            new { controller = "CreditCard", action = "UpdateCard" } // Parameter defaults
            );
            routes.MapRoute(
           "ATMCard UpdateCard", // Route name
           "ATMCard/UpdateCard/{CardID}", // URL with parameters
           new { controller = "ATMCard", action = "UpdateCard" } // Parameter defaults
           );
            routes.MapRoute(
          "SavingFuelCard UpdateCard", // Route name
          "SavingFuelCard/UpdateCard/{CardID}", // URL with parameters
          new { controller = "SavingFuelCard", action = "UpdateCard" } // Parameter defaults
          );
            routes.MapRoute(
          "RestaurantCard UpdateCard", // Route name
          "RestaurantCard/UpdateCard/{CardID}", // URL with parameters
          new { controller = "RestaurantCard", action = "UpdateCard" } // Parameter defaults
          );
            routes.MapRoute(
          "ShoppingCard UpdateCard", // Route name
          "ShoppingCard/UpdateCard/{CardID}", // URL with parameters
          new { controller = "ShoppingCard", action = "UpdateCard" } // Parameter defaults
          );
            routes.MapRoute(
  "TravelCard UpdateCard", // Route name
  "TravelCard/UpdateCard/{CardID}", // URL with parameters
  new { controller = "TravelCard", action = "UpdateCard" } // Parameter defaults
  );
            routes.MapRoute(
 "InternetBanking UpdateInternetBanking", // Route name
 "InternetBanking/UpdateInternetBanking/{InternetBankingID}", // URL with parameters
 new { controller = "InternetBanking", action = "UpdateInternetBanking" } // Parameter defaults
 );
            routes.MapRoute(
 "MobileBanking UpdateMobileBanking", // Route name
 "MobileBanking/UpdateMobileBanking/{MobileBankingID}", // URL with parameters
 new { controller = "MobileBanking", action = "UpdateMobileBanking" } // Parameter defaults
 );
            routes.MapRoute(
           "UpdateArticles", // Route name
           "Articles/UpdateArticles/{ArticlesID}", // URL with parameters
           new { controller = "Articles", action = "UpdateArticles" } // Parameter defaults
           );
            routes.MapRoute(
            "UpdateDepositSaving", // Route name
            "DepositSaving/UpdateDepositSaving/{DepositSavingID}", // URL with parameters
            new { controller = "DepositSaving", action = "UpdateDepositSaving" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateOnlineSaving", // Route name
            "OnlineDeposit/UpdateOnlineDeposit/{OnlineDepositID}", // URL with parameters
            new { controller = "OnlineDeposit", action = "UpdateOnlineDeposit" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateDepositSavingCurrency", // Route name
            "DepositSavingCurrency/UpdateDepositSavingCurrency/{SavingCurrencyID}", // URL with parameters
            new { controller = "DepositSavingCurrency", action = "UpdateDepositSavingCurrency" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateAccumulateDeposit", // Route name
            "AccumulateDeposit/UpdateAccumulateDeposit/{AccumulateDepositID}", // URL with parameters
            new { controller = "AccumulateDeposit", action = "UpdateAccumulateDeposit" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateCarLoanTrustn", // Route name
            "CarLoanTrust/UpdateCarLoan/{CarLoanID}", // URL with parameters
            new { controller = "CarLoanTrust", action = "UpdateCarLoan" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateCarLoanMortgage", // Route name
            "CarLoanMortgage/UpdateCarLoan/{CarLoanID}", // URL with parameters
            new { controller = "CarLoanMortgage", action = "UpdateCarLoan" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdatHomeLoanTrust", // Route name
            "HomeLoanTrust/UpdateHomeLoan/{HomeLoanID}", // URL with parameters
            new { controller = "HomeLoanTrust", action = "UpdateHomeLoan" } // Parameter defaults
            );
            routes.MapRoute(
           "UpdateShortTermLoan", // Route name
           "ShortTermLoan/UpdateShortTermLoan/{ShortTermLoanID}", // URL with parameters
           new { controller = "ShortTermLoan", action = "UpdateShortTermLoan" } // Parameter defaults
           );
            routes.MapRoute(
          "UpdateFinancialLeasingLoan", // Route name
          "FinancialLeasingLoan/UpdateFinancialLeasingLoan/{FinancialLeasingLoanID}", // URL with parameters
          new { controller = "FinancialLeasingLoan", action = "UpdateFinancialLeasingLoan" } // Parameter defaults
          );
            routes.MapRoute(
          "Update LongTermLoan", // Route name
          "LongTermLoan/UpdateLongTermLoan/{LongTermLoanID}", // URL with parameters
          new { controller = "LongTermLoan", action = "UpdateLongTermLoan" } // Parameter defaults
          );
            routes.MapRoute(
         "Update ConsumerLoan", // Route name
         "ConsumerLoan/UpdateConsumerLoan/{ConsumerLoanID}", // URL with parameters
         new { controller = "ConsumerLoan", action = "UpdateConsumerLoan" } // Parameter defaults
         );
            routes.MapRoute(
         "Update EducationLoan", // Route name
         "EducationLoan/UpdateEducationLoan/{EducationLoanID}", // URL with parameters
         new { controller = "EducationLoan", action = "UpdateEducationLoan" } // Parameter defaults
         );
            routes.MapRoute(
         "Update HomeEquityLoan", // Route name
         "HomeEquityLoan/UpdateHomeEquityLoan/{HomeEquityLoanID}", // URL with parameters
         new { controller = "HomeEquityLoan", action = "UpdateHomeEquityLoan" } // Parameter defaults
         );
            routes.MapRoute(
         "Update PersonalBusinessLoan", // Route name
         "PersonalBusinessLoan/UpdatePersonalBusinessLoan/{PersonalBusinessLoanID}", // URL with parameters
         new { controller = "PersonalBusinessLoan", action = "UpdatePersonalBusinessLoan" } // Parameter defaults
         );
            routes.MapRoute(
       "Update ConsumerInstallmentLoan", // Route name
       "ConsumerInstallmentLoan/UpdateConsumerInstallmentLoan/{ConsumerInstallmentLoanID}", // URL with parameters
       new { controller = "ConsumerInstallmentLoan", action = "UpdateConsumerInstallmentLoan" } // Parameter defaults
       );
            routes.MapRoute(
        "Update OverdraftLoan", // Route name
        "OverdraftLoan/UpdateOverdraftLoan/{OverdraftLoanID}", // URL with parameters
        new { controller = "OverdraftLoan", action = "UpdateOverdraftLoan" } // Parameter defaults
        );
            routes.MapRoute(
          "UpdateWorkingCapitalLoan", // Route name
          "WorkingCapitalLoan/UpdateWorkingCapitalLoan/{WorkingCapitalLoanID}", // URL with parameters
          new { controller = "WorkingCapitalLoan", action = "UpdateWorkingCapitalLoan" } // Parameter defaults
          );
            routes.MapRoute(
            "UpdatHomeLoanMortgage", // Route name
            "HomeLoanMortgage/UpdateHomeLoan/{HomeLoanID}", // URL with parameters
            new { controller = "HomeLoanMortgage", action = "UpdateHomeLoan" } // Parameter defaults
            );
            routes.MapRoute(
            "Update PartnerGroup", // Route name
            "Partner/UpdatePartnerGroup/{PartnerGroupID}", // URL with parameters
            new { controller = "Partner", action = "UpdatePartnerGroup" } // Parameter defaults
            );
            routes.MapRoute(
            "Update BannerSlideShow", // Route name
            "BannerSlideShow/UpdateSlide/{SShowID}", // URL with parameters
            new { controller = "BannerSlideShow", action = "UpdateSlide" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdatePartner", // Route name
            "Partner/UpdatePartner/{PartnerID}", // URL with parameters
            new { controller = "Partner", action = "UpdatePartner" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateLoan", // Route name
            "Loan/UpdateLoan/{LoanID}", // URL with parameters
            new { controller = "Loan", action = "UpdateLoan" } // Parameter defaults
            );
            routes.MapRoute(
            "Update CreditCard FAQ", // Route name
            "CreditCard/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "CreditCard", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
           "Update WorkingCapitalLoan FAQ", // Route name
           "WorkingCapitalLoan/UpdateFAQ/{ProductFAQID}", // URL with parameters
           new { controller = "WorkingCapitalLoan", action = "UpdateFAQ" } // Parameter defaults
           );
            routes.MapRoute(
          "Update ShortTermLoan FAQ", // Route name
          "ShortTermLoan/UpdateFAQ/{ProductFAQID}", // URL with parameters
          new { controller = "ShortTermLoan", action = "UpdateFAQ" } // Parameter defaults
          );
            routes.MapRoute(
         "Update FinancialLeasingLoan FAQ", // Route name
         "FinancialLeasingLoan/UpdateFAQ/{ProductFAQID}", // URL with parameters
         new { controller = "FinancialLeasingLoan", action = "UpdateFAQ" } // Parameter defaults
         );
            routes.MapRoute(
         "Update LongTermLoan FAQ", // Route name
         "LongTermLoan/UpdateFAQ/{ProductFAQID}", // URL with parameters
         new { controller = "LongTermLoan", action = "UpdateFAQ" } // Parameter defaults
         );
            routes.MapRoute(
            "Update AccumulateDeposit FAQ", // Route name
            "AccumulateDeposit/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "AccumulateDeposit", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update ATMCard FAQ", // Route name
            "ATMCard/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "ATMCard", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update Travel FAQ", // Route name
            "TravelCard/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "TravelCard", action = "UpdateFAQ" } // Parameter defaults
            );

            routes.MapRoute(
            "Update CarLoanTrust FAQ", // Route name
            "CarLoanTrust/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "CarLoanTrust", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update CarLoanMortgage FAQ", // Route name
            "CarLoanMortgage/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "CarLoanMortgage", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update DepositSaving FAQ", // Route name
            "DepositSaving/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "DepositSaving", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update DepositSavingCurrency FAQ", // Route name
            "DepositSavingCurrency/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "DepositSavingCurrency", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update HomeLoanMortgage FAQ", // Route name
            "HomeLoanMortgage/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "HomeLoanMortgage", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update HomeLoanTrust FAQ", // Route name
            "HomeLoanTrust/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "HomeLoanTrust", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update SavingFuelCard FAQ", // Route name
            "SavingFuelCard/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "SavingFuelCard", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update ShoppingCard FAQ", // Route name
            "ShoppingCard/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "ShoppingCard", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update RestaurantCard FAQ", // Route name
            "RestaurantCard/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "RestaurantCard", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update TravelCard FAQ", // Route name
            "TravelCard/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "TravelCard", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
            "Update OnlineDeposit FAQ", // Route name
           "OnlineDeposit/UpdateFAQ/{ProductFAQID}", // URL with parameters
            new { controller = "OnlineDeposit", action = "UpdateFAQ" } // Parameter defaults
            );
            routes.MapRoute(
           "Update ConsumerLoan FAQ", // Route name
          "ConsumerLoan/UpdateFAQ/{ProductFAQID}", // URL with parameters
           new { controller = "ConsumerLoan", action = "UpdateFAQ" } // Parameter defaults
           );
            routes.MapRoute(
          "Update EducationLoan FAQ", // Route name
         "EducationLoan/UpdateFAQ/{ProductFAQID}", // URL with parameters
          new { controller = "EducationLoan", action = "UpdateFAQ" } // Parameter defaults
          );
            routes.MapRoute(
         "Update HomeEquityLoan FAQ", // Route name
        "HomeEquityLoan/UpdateFAQ/{ProductFAQID}", // URL with parameters
         new { controller = "HomeEquityLoan", action = "UpdateFAQ" } // Parameter defaults
         );
            routes.MapRoute(
          "Update PersonalBusinessLoan FAQ", // Route name
         "PersonalBusinessLoan/UpdateFAQ/{ProductFAQID}", // URL with parameters
          new { controller = "PersonalBusinessLoan", action = "UpdateFAQ" } // Parameter defaults
          );
            routes.MapRoute(
         "Update ConsumerInstallmentLoan FAQ", // Route name
        "ConsumerInstallmentLoan/UpdateFAQ/{ProductFAQID}", // URL with parameters
         new { controller = "ConsumerInstallmentLoan", action = "UpdateFAQ" } // Parameter defaults
         );

            routes.MapRoute(
         "Update OverdraftLoan FAQ", // Route name
        "OverdraftLoan/UpdateFAQ/{ProductFAQID}", // URL with parameters
         new { controller = "OverdraftLoan", action = "UpdateFAQ" } // Parameter defaults
         );
            routes.MapRoute(
         "Update InternetBanking FAQ", // Route name
        "InternetBanking/UpdateFAQ/{ProductFAQID}", // URL with parameters
         new { controller = "InternetBanking", action = "UpdateFAQ" } // Parameter defaults
         );
            routes.MapRoute(
        "Update MobileBanking FAQ", // Route name
       "MobileBanking/UpdateFAQ/{ProductFAQID}", // URL with parameters
        new { controller = "MobileBanking", action = "UpdateFAQ" } // Parameter defaults
        );
            routes.MapRoute(
            "Update Company FAQ", // Route name
            "Company/UpdateCompany/{CompanyID}", // URL with parameters
            new { controller = "Company", action = "UpdateCompany" } // Parameter defaults
            );
            routes.MapRoute(
           "Mng Company", // Route name
           "Company/Manager/{CompanyID}", // URL with parameters
           new { controller = "Company", action = "Manager" } // Parameter defaults
           );
            routes.MapRoute(
            "UpdateTermInterest Company", // Route name
            "Company/UpdateTermInterest/{TableTermInterestID}", // URL with parameters
            new { controller = "Company", action = "UpdateTermInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateTableCarLoanEquityInterest Company", // Route name
            "Company/UpdateTableCarLoanEquityInterest/{TableCarLoanEquityInterestID}", // URL with parameters
            new { controller = "Company", action = "UpdateTableCarLoanEquityInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateTableCarLoanMortgageInterest Company", // Route name
            "Company/UpdateTableCarLoanMortgageInterest/{TableCarLoanMortgageInterestID}", // URL with parameters
            new { controller = "Company", action = "UpdateTableCarLoanMortgageInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateTableHomeLoanEquityInterest Company", // Route name
            "Company/UpdateTableHomeLoanEquityInterest/{TableHomeLoanEquityInterestID}", // URL with parameters
            new { controller = "Company", action = "UpdateTableHomeLoanEquityInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateTermDemandInterest Company", // Route name
            "Company/UpdateTermDemandInterest/{TableTermInterestID}", // URL with parameters
            new { controller = "Company", action = "UpdateTermDemandInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateTableConsumerLoanInterest Company", // Route name
            "Company/UpdateTableConsumerLoanInterest/{TableConsumerLoanInterestID}", // URL with parameters
            new { controller = "Company", action = "UpdateTableConsumerLoanInterest" } // Parameter defaults
            );
            routes.MapRoute(
           "UpdateTableEducationLoanInterest Company", // Route name
           "Company/UpdateTableEducationLoanInterest/{TableEducationLoanInterestID}", // URL with parameters
           new { controller = "Company", action = "UpdateTableEducationLoanInterest" } // Parameter defaults
           );
            routes.MapRoute(
          "UpdateTableHomeEquityLoanInterest Company", // Route name
          "Company/UpdateTableHomeEquityLoanInterest/{TableHomeEquityLoanInterestID}", // URL with parameters
          new { controller = "Company", action = "UpdateTableHomeEquityLoanInterest" } // Parameter defaults
          );
            routes.MapRoute(
          "UpdateTablePersonalBusinessLoanInterest Company", // Route name
          "Company/UpdateTablePersonalBusinessLoanInterest/{TablePersonalBusinessLoanInterestID}", // URL with parameters
          new { controller = "Company", action = "UpdateTablePersonalBusinessLoanInterest" } // Parameter defaults
          );
            routes.MapRoute(
           "UpdateTableConsumerInstallmentLoanInterest Company", // Route name
           "Company/UpdateTableConsumerInstallmentLoanInterest/{TableConsumerInstallmentLoanInterestID}", // URL with parameters
           new { controller = "Company", action = "UpdateTableConsumerInstallmentLoanInterest" } // Parameter defaults
           );

            routes.MapRoute(
          "UpdateTableOverdraftLoanInterest Company", // Route name
          "Company/UpdateTableOverdraftLoanInterest/{TableOverdraftLoanInterestID}", // URL with parameters
          new { controller = "Company", action = "UpdateTableOverdraftLoanInterest" } // Parameter defaults
          );
            routes.MapRoute(
           "UpdateTableHomeLoanMortgageInterest Company", // Route name
           "Company/UpdateTableHomeLoanMortgageInterest/{TableHomeLoanMortgageInterestID}", // URL with parameters
           new { controller = "Company", action = "UpdateTableHomeLoanMortgageInterest" } // Parameter defaults
           );
            routes.MapRoute(
           "UpdatePHighLight PHighLight", // Route name
           "PHighLight/UpdatePHighLight/{PHighLightID}", // URL with parameters
           new { controller = "PHighLight", action = "UpdatePHighLight" } // Parameter defaults
           );
            routes.MapRoute(
           "UpdateAds Ads", // Route name
           "Ads/UpdateAds/{AdsID}", // URL with parameters
           new { controller = "Ads", action = "UpdateAds" } // Parameter defaults
           );
            routes.MapRoute(
            "add InsertTableTermInterest", // Route name
            "Company/InsertTableTermInterest/{CompanyID}", // URL with parameters
            new { controller = "Company", action = "InsertTableTermInterest" } // Parameter defaults
            );
            routes.MapRoute(
           "add InsertTableTermDemandInterest", // Route name
           "Company/InsertTableTermDemandInterest/{CompanyID}", // URL with parameters
           new { controller = "Company", action = "InsertTableTermDemandInterest" } // Parameter defaults
           );
            routes.MapRoute(
            "add InsertTableHomeLoanMortgageInterest", // Route name
            "Company/InsertTableHomeLoanMortgageInterest/{CompanyID}", // URL with parameters
            new { controller = "Company", action = "InsertTableHomeLoanMortgageInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "add InsertTableHomeLoanEquityInterest", // Route name
            "Company/InsertTableHomeLoanEquityInterest/{CompanyID}", // URL with parameters
            new { controller = "Company", action = "InsertTableHomeLoanEquityInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "add InsertTableCarLoanEquityInterest", // Route name
            "Company/InsertTableCarLoanEquityInterest/{CompanyID}", // URL with parameters
            new { controller = "Company", action = "InsertTableCarLoanEquityInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "add InsertTableCarLoanMortgageInterest", // Route name
            "Company/InsertTableCarLoanMortgageInterest/{CompanyID}", // URL with parameters
            new { controller = "Company", action = "InsertTableCarLoanMortgageInterest" } // Parameter defaults
            );
            routes.MapRoute(
           "add InsertTableConsumerLoanInterest", // Route name
           "Company/InsertTableConsumerLoanInterest/{CompanyID}", // URL with parameters
           new { controller = "Company", action = "InsertTableConsumerLoanInterest" } // Parameter defaults
           );
            routes.MapRoute(
          "add InsertTableEducationLoanInterest", // Route name
          "Company/InsertTableEducationLoanInterest/{CompanyID}", // URL with parameters
          new { controller = "Company", action = "InsertTableEducationLoanInterest" } // Parameter defaults
          );
            routes.MapRoute(
         "add InsertTableHomeEquityLoanInterest", // Route name
         "Company/InsertTableHomeEquityLoanInterest/{CompanyID}", // URL with parameters
         new { controller = "Company", action = "InsertTableHomeEquityLoanInterest" } // Parameter defaults
         );
            routes.MapRoute(
          "add InsertTablePersonalBusinessLoanInterest", // Route name
          "Company/InsertTablePersonalBusinessLoanInterest/{CompanyID}", // URL with parameters
          new { controller = "Company", action = "InsertTablePersonalBusinessLoanInterest" } // Parameter defaults
          );
            routes.MapRoute(
        "add InsertTableConsumerInstallmentLoanInterest", // Route name
        "Company/InsertTableConsumerInstallmentLoanInterest/{CompanyID}", // URL with parameters
        new { controller = "Company", action = "InsertTableConsumerInstallmentLoanInterest" } // Parameter defaults
        );

            routes.MapRoute(
         "add InsertTableOverdraftLoanInterest", // Route name
         "Company/InsertTableOverdraftLoanInterest/{CompanyID}", // URL with parameters
         new { controller = "Company", action = "InsertTableOverdraftLoanInterest" } // Parameter defaults
         );
            routes.MapRoute(
            "accumulated By Provider", // Route name
            "accumulated-saving/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "AccumulateDeposit", action = "AccumulatedSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "house-contruction-renovation-loan By Provider", // Route name
            "house-contruction-renovation-loan/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "HomeLoanTrust", action = "TermSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "secured-home-loan By Provider", // Route name
            "secured-home-loan/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "HomeLoanMortgage", action = "TermSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "term By Provider", // Route name
            "term-saving/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "DepositSaving", action = "TermSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "car-loan Provider", // Route name
            "car-loan/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "CarLoanTrust", action = "TermSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "moto-loan Provider", // Route name
            "moto-loan/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "CarLoanMortgage", action = "TermSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "DepositSavingCurrency By Provider", // Route name
            "foreign-currency-saving/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "DepositSavingCurrency", action = "TermSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "WorkingCapitalLoan By Provider", // Route name
            "working-capital-loan/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "WorkingCapitalLoan", action = "TermSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "ShortTermLoan By Provider", // Route name
            "short-term-loan/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "ShortTermLoan", action = "TermSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "FinancialLeasingLoan By Provider", // Route name
            "financial-leasing-loan/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "FinancialLeasingLoan", action = "TermSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
            "LongTermLoan By Provider", // Route name
            "long-term-loan/{CompanyName}/{CompanyID}", // URL with parameters
            new { controller = "LongTermLoan", action = "TermSavingByProvider" } // Parameter defaults

            );
            routes.MapRoute(
           "ConsumerLoan By Provider", // Route name
           "consumer-loan/{CompanyName}/{CompanyID}", // URL with parameters
           new { controller = "ConsumerLoan", action = "TermSavingByProvider" } // Parameter defaults

           );
            routes.MapRoute(
         "EducationLoan By Provider", // Route name
         "education-loan/{CompanyName}/{CompanyID}", // URL with parameters
         new { controller = "EducationLoan", action = "TermSavingByProvider" } // Parameter defaults

         );
            routes.MapRoute(
        "HomeEquityLoan By Provider", // Route name
        "home-equity-loan/{CompanyName}/{CompanyID}", // URL with parameters
        new { controller = "HomeEquityLoan", action = "TermSavingByProvider" } // Parameter defaults

        );
            routes.MapRoute(
        "PersonalBusinessLoan By Provider", // Route name
        "personal-business-loan/{CompanyName}/{CompanyID}", // URL with parameters
        new { controller = "PersonalBusinessLoan", action = "TermSavingByProvider" } // Parameter defaults

        );
            routes.MapRoute(
        "ConsumerInstallmentLoan By Provider", // Route name
        "consumer-installment-loan/{CompanyName}/{CompanyID}", // URL with parameters
        new { controller = "ConsumerInstallmentLoan", action = "TermSavingByProvider" } // Parameter defaults

        );
            routes.MapRoute(
        "OverdraftLoan By Provider", // Route name
        "overdraft-loan/{CompanyName}/{CompanyID}", // URL with parameters
        new { controller = "OverdraftLoan", action = "TermSavingByProvider" } // Parameter defaults

        );
            routes.MapRoute(
            "AboutUs", // Route name
            "about-us", // URL with parameters
            new { controller = "AboutUs", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "Contact", // Route name
            "contact-us", // URL with parameters
            new { controller = "Contact", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
           "ThanksYou", // Route name
           "credit-card/thanks-you", // URL with parameters
           new { controller = "CreditCard", action = "ThanksYou" } // Parameter defaults
           );
            routes.MapRoute(
            "ThanksYou Fuel", // Route name
            "fuel-card/thanks-you", // URL with parameters
            new { controller = "SavingFuelCard", action = "ThanksYou" } // Parameter defaults
            );
            routes.MapRoute(
            "ThanksYou Restaurant", // Route name
            "restaurant-card/thanks-you", // URL with parameters
            new { controller = "RestaurantCard", action = "ThanksYou" } // Parameter defaults
            );
            routes.MapRoute(
            "ThanksYou TravelCard", // Route name
            "travel-card/thanks-you", // URL with parameters
            new { controller = "TravelCard", action = "ThanksYou" } // Parameter defaults
            );
            routes.MapRoute(
            "ThanksYou ShoppingCard", // Route name
            "shopping-card/thanks-you", // URL with parameters
            new { controller = "ShoppingCard", action = "ThanksYou" } // Parameter defaults
            );
            routes.MapRoute(
            "ThanksYou ATMCard", // Route name
            "atm-card/thanks-you", // URL with parameters
            new { controller = "ATMCard", action = "ThanksYou" } // Parameter defaults
            );
            routes.MapRoute(
           "DepositSaving Thanks", // Route name
           "term-saving/thanks-you", // URL with parameters
           new { controller = "DepositSaving", action = "ThanksYou" } // Parameter defaults
           );
            routes.MapRoute(
          "AccumulateDeposit Thanks", // Route name
          "accumulated-saving/thanks-you", // URL with parameters
          new { controller = "AccumulateDeposit", action = "ThanksYou" } // Parameter defaults
          );
            routes.MapRoute(
          "OnlineDeposit Thanks", // Route name
          "foreign-currency-saving/thanks-you", // URL with parameters
          new { controller = "OnlineDeposit", action = "ThanksYou" } // Parameter defaults
          );
            routes.MapRoute(
          "HomeLoanTrust Thanks", // Route name
          "house-contruction-renovation-loan/thanks-you", // URL with parameters
          new { controller = "HomeLoanTrust", action = "ThanksYou" } // Parameter defaults
          );
            routes.MapRoute(
         "DepositSavingCurrency Thanks", // Route name
         "term-demand-saving/thanks-you", // URL with parameters
         new { controller = "DepositSavingCurrency", action = "ThanksYou" } // Parameter defaults
         );
            routes.MapRoute(
         "HomeLoanMortgage Thanks", // Route name
         "secured-home-loan/thanks-you", // URL with parameters
         new { controller = "HomeLoanMortgage", action = "ThanksYou" } // Parameter defaults
         );
            routes.MapRoute(
        "CarLoanTrust Thanks", // Route name
        "car-loan/thanks-you", // URL with parameters
        new { controller = "CarLoanTrust", action = "ThanksYou" } // Parameter defaults
        );
            routes.MapRoute(
        "CarLoanMortgage Thanks", // Route name
        "moto-loan/thanks-you", // URL with parameters
        new { controller = "CarLoanMortgage", action = "ThanksYou" } // Parameter defaults
        );
            routes.MapRoute(
       "ShortTermLoan Thanks", // Route name
       "short-term-loan/thanks-you", // URL with parameters
       new { controller = "ShortTermLoan", action = "ThanksYou" } // Parameter defaults
       );
            routes.MapRoute(
       "WorkingCapitalLoan Thanks", // Route name
       "working-capital-loan/thanks-you", // URL with parameters
       new { controller = "WorkingCapitalLoan", action = "ThanksYou" } // Parameter defaults
       );
            routes.MapRoute(
      "FinancialLeasingLoan Thanks", // Route name
      "financial-leasing-loan/thanks-you", // URL with parameters
      new { controller = "FinancialLeasingLoan", action = "ThanksYou" } // Parameter defaults
      );
            routes.MapRoute(
      "LongTermLoan Thanks", // Route name
      "long-term-loan/thanks-you", // URL with parameters
      new { controller = "LongTermLoan", action = "ThanksYou" } // Parameter defaults
      );
            routes.MapRoute(
    "ConsumerLoan Thanks", // Route name
    "consumer-loan/thanks-you", // URL with parameters
    new { controller = "ConsumerLoan", action = "ThanksYou" } // Parameter defaults
    );
            routes.MapRoute(
   "EducationLoan Thanks", // Route name
   "education-loan/thanks-you", // URL with parameters
   new { controller = "EducationLoan", action = "ThanksYou" } // Parameter defaults
   );
            routes.MapRoute(
 "HomeEquityLoan Thanks", // Route name
 "home-equity-loan/thanks-you", // URL with parameters
 new { controller = "HomeEquityLoan", action = "ThanksYou" } // Parameter defaults
 );
            routes.MapRoute(
"PersonalBusinessLoan Thanks", // Route name
"personal-business-loan/thanks-you", // URL with parameters
new { controller = "PersonalBusinessLoan", action = "ThanksYou" } // Parameter defaults
);
            routes.MapRoute(
 "ConsumerInstallmentLoan Thanks", // Route name
 "consumer-installment-loan/thanks-you", // URL with parameters
 new { controller = "ConsumerInstallmentLoan", action = "ThanksYou" } // Parameter defaults
 );
            routes.MapRoute(
   "OverdraftLoan Thanks", // Route name
   "overdraft-loan/thanks-you", // URL with parameters
   new { controller = "OverdraftLoan", action = "ThanksYou" } // Parameter defaults
   );
            routes.MapRoute(
  "InternetBanking Thanks", // Route name
  "internet-banking/thanks-you", // URL with parameters
  new { controller = "InternetBanking", action = "ThanksYou" } // Parameter defaults
  );
            routes.MapRoute(
  "MobileBanking Thanks", // Route name
  "mobile-banking/thanks-you", // URL with parameters
  new { controller = "MobileBanking", action = "ThanksYou" } // Parameter defaults
  );
            routes.MapRoute(
            "FAQs Index", // Route name
            "frequently-asked-questions", // URL with parameters
            new { controller = "FAQs", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "Disclaimer Index", // Route name
            "complaint", // URL with parameters
            new { controller = "Disclaimer", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "Term Index", // Route name
            "rules-terms", // URL with parameters
            new { controller = "Term", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "InternetBanking Index", // Route name
            "internet-banking", // URL with parameters
            new { controller = "InternetBanking", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
           "MobileBanking Index", // Route name
           "mobile-banking", // URL with parameters
           new { controller = "MobileBanking", action = "Index" } // Parameter defaults
           );
            routes.MapRoute(
            "Career Index", // Route name
            "career", // URL with parameters
            new { controller = "Career", action = "Index" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateTableCapitalLoanInterest Company", // Route name
            "Company/UpdateTableCapitalLoanInterest/{TableCapitalLoanInterestID}", // URL with parameters
            new { controller = "Company", action = "UpdateTableCapitalLoanInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "add InsertTableCapitalLoanInterest", // Route name
            "Company/InsertTableCapitalLoanInterest/{CompanyID}", // URL with parameters
            new { controller = "Company", action = "InsertTableCapitalLoanInterest" } // Parameter defaults
            );

            routes.MapRoute(
            "UpdateTableFinancialLeasingLoanInterest Company", // Route name
            "Company/UpdateTableFinancialLeasingLoanInterest/{TableFinancialLeasingLoanInterestID}", // URL with parameters
            new { controller = "Company", action = "UpdateTableFinancialLeasingLoanInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "add InsertTableFinancialLeasingLoanInterest", // Route name
            "Company/InsertTableFinancialLeasingLoanInterest/{CompanyID}", // URL with parameters
            new { controller = "Company", action = "InsertTableFinancialLeasingLoanInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "UpdateTableLongTermLoanInterest Company", // Route name
            "Company/UpdateTableLongTermLoanInterest/{TableLongTermLoanInterestID}", // URL with parameters
            new { controller = "Company", action = "UpdateTableLongTermLoanInterest" } // Parameter defaults
            );
            routes.MapRoute(
            "add InsertTableLongTermLoanInterest", // Route name
            "Company/InsertTableLongTermLoanInterest/{CompanyID}", // URL with parameters
            new { controller = "Company", action = "InsertTableLongTermLoanInterest" } // Parameter defaults
            );

            routes.MapRoute(
           "UpdateTableShortTermLoanInterest Company", // Route name
           "Company/UpdateTableShortTermLoanInterest/{TableShortTermLoanInterestID}", // URL with parameters
           new { controller = "Company", action = "UpdateTableShortTermLoanInterest" } // Parameter defaults
           );
            routes.MapRoute(
            "add InsertTableShortTermLoanInterest", // Route name
            "Company/InsertTableShortTermLoanInterest/{CompanyID}", // URL with parameters
            new { controller = "Company", action = "InsertTableShortTermLoanInterest" } // Parameter defaults
            );
            routes.MapRoute(
           "InternetBanking By Provider", // Route name
           "internet-banking/{CompanyName}/{CompanyID}", // URL with parameters
           new { controller = "InternetBanking", action = "InternetBankingsByProvider" } // Parameter defaults

           );
            routes.MapRoute(
          "MobileBanking By Provider", // Route name
          "mobile-banking/{CompanyName}/{CompanyID}", // URL with parameters
          new { controller = "MobileBanking", action = "MobileBankingsByProvider" } // Parameter defaults

          );
            routes.MapRoute(
           "login Company", // Route name
           "login", // URL with parameters
           new { controller = "Account", action = "Login" } // Parameter defaults
           );
            routes.MapRoute(
                "Default", // Route name
                "{controller}/{action}/{id}", // URL with parameters
                new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
            );
           

        }

        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            // Use LocalDB for Entity Framework by default
            Database.DefaultConnectionFactory = new SqlConnectionFactory(@"Data Source=(localdb)\v11.0; Integrated Security=True; MultipleActiveResultSets=True");

            RegisterGlobalFilters(GlobalFilters.Filters);
            RegisterRoutes(RouteTable.Routes);
        }
    }
}